xen/arm: send IPIs to inject irqs into guest vcpus running on different pcpus
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 8 May 2013 11:41:11 +0000 (12:41 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 8 May 2013 11:59:30 +0000 (12:59 +0100)
commit0c899a9f6fa9272c74ccdb659bcbfc0e74dcef45
tree635f425b1e58e057496c088205d49bac6bb99f15
parent66410d1d18bca2feade55cb312ddf3be04407d57
xen/arm: send IPIs to inject irqs into guest vcpus running on different pcpus

If we need to inject an irq into a VCPU that is running on a different
processor, we shouldn't just enqueue the irq into the lr_pending and
inflight lists and wait for something to interrupt the guest execution.
Send an IPI to the target pcpu so that Xen can inject the new interrupt
returning to guest.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/vgic.c